﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML><HEAD><TITLE>ListLines</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8"><LINK 
href="../css/commands.css" type=text/css rel=stylesheet><LINK media=print 
href="../css/print.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6000.16705" name=GENERATOR></HEAD>
<BODY>
<H1>ListLines</H1>


<P>显示最近已运行过的各脚本行。</P>
<P class=CommandSyntax>ListLines</P>
<h3>注意</h3>
<P>该命令与主窗口中"View-&gt;Lines most recently executed"菜单项的功能一致。该命令可帮助您 <A 
href="../Scripts.htm#debug">调试脚本</A>。</P>
<P>做一个相关的提示，内置变量 <A href="../Variables.htm#LineNumber">A_LineNumber</A> 和 <A 
href="../Variables.htm#LineFile">A_LineFile</A> 分别包含当前运行的行号和其所在的文件名称。</P>
<h3>相关命令</h3>
<P><A href="KeyHistory.htm">KeyHistory</A>, <A 
href="ListHotkeys.htm">ListHotkeys</A>, <A href="ListVars.htm">ListVars</A></P>
<h3>示例</h3><PRE class=NoIndent>ListLines</PRE>
</BODY></HTML>
